<?php

/**
 * @package		iTO
 * @subpackage	Components
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @author		Kostyantyn Didenko
 * @license		License GNU General Public License version 2 or later
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted access');

// require helper file
JLoader::register('iTOEstateHelper', dirname(__FILE__) . DS . 'helpers' . DS . 'itoestate.php');

// import joomla controller library
jimport('joomla.application.component.controller');

// Get an instance of the controller prefixed by iTOEstate
$controller = JController::getInstance('iTOEstate');

// Perform the Request task
$controller->execute(JRequest::getCmd('task'));

// Redirect if set by the controller
$controller->redirect();
